GtkTreeViewColumn: start padding at 0
authorRyan Lortie <desrt@desrt.ca>
Thu, 26 Sep 2013 17:37:46 +0000 (13:37 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 30 Sep 2013 13:23:00 +0000 (09:23 -0400)
commite3b9ea5ab6d1f0c419fd9a79330e80cc56492ce2
tree8d84718ab9630c39512b30450921ef0e98ebe83f
parent64c9aa219f124253891e5bdf08100b8f1055c724
GtkTreeViewColumn: start padding at 0

If we start with a padding of -1 then it can leak out of the size
allocation request for the column when the treeview is empty.  The
GtkTreeView will then collect these -1 values and add them together,
returning -n where 'n' is the number of columns.

This is usually not a problem because treeviews tend to be used with a
scrollbar and the width of the scrollbar will be added to this number
bringing it into positive territory again.  On Ubuntu, with overlay
scrollbars, this is not the case, however.

https://bugzilla.gnome.org/show_bug.cgi?id=703062
gtk/gtktreeviewcolumn.c